home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / csounds / sounds.c < prev    next >
Text File  |  1988-08-18  |  569b  |  20 lines

  1. #include <stdio.h>
  2.  
  3. void main()
  4. {
  5.   printf("\nHit any key to hear a nice beep.");
  6.   getch();
  7.   nice_beep();
  8.   printf("\nHit any key to hear a siren.");
  9.   printf("\nAfter the siren begins, hit any key to stop the siren.");
  10.   getch();
  11.   siren();
  12.   printf("\nHit any key to hear a telephone.");
  13.   printf("\nAfter the siren begins, hit any key to stop the telephone.");
  14.   getch();
  15.   telephone();
  16.   printf("\nHit any key to hear a whooping siren.");
  17.   printf("\nAfter the siren begins, hit any key to stop the whooping siren.");
  18.   getch();
  19.   whooper();
  20. }